
static inline void hrtimer_cpu_base_lock_expiry(struct hrtimer_cpu_base *base)
{
}

static inline void hrtimer_cpu_base_unlock_expiry(struct hrtimer_cpu_base *base)
{
}

static inline void hrtimer_sync_wait_running(struct hrtimer_cpu_base *base,
                                             unsigned long flags)
{
}

static inline void hrtimer_cpu_base_init_expiry_lock(struct hrtimer_cpu_base *base)
{
}

static inline ktime_t hrtimer_update_base(struct hrtimer_cpu_base *base)
{
    ktime_t *offs_real = &base->clock_base[HRTIMER_BASE_REALTIME].offset;
    ktime_t *offs_boot = &base->clock_base[HRTIMER_BASE_BOOTTIME].offset;
    ktime_t *offs_tai = &base->clock_base[HRTIMER_BASE_TAI].offset;

    ktime_t now = ktime_get_update_offsets_now(&base->clock_was_set_seq,
                                               offs_real, offs_boot, offs_tai);

    base->clock_base[HRTIMER_BASE_REALTIME_SOFT].offset = *offs_real;
    base->clock_base[HRTIMER_BASE_BOOTTIME_SOFT].offset = *offs_boot;
    base->clock_base[HRTIMER_BASE_TAI_SOFT].offset = *offs_tai;

    return now;
}
